<%--
    Document   : login
    Created on : 28 Mar, 2010, 10:26:04 AM
    Author     : ankur
--%>

<%
String suid=(String)session.getAttribute("suid");
                if(suid==null||suid.equals(""))
                {
                        response.sendRedirect("../index.jsp");
                }
%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <style type="text/css">
            .tbl1
            {
                background: url('back.jpg');
                background-repeat: no-repeat;
            }
        </style>
        <title>Branch Peferences Page</title>
        <script language="JavaScript">           
            function isProcess(){
                var arr= new Array(9);
                arr[0] = document.branchChoice.bt.value;
                arr[1] = document.branchChoice.che.value;
                arr[2] = document.branchChoice.civ.value;
                arr[3] = document.branchChoice.cse.value;
                arr[4] = document.branchChoice.ece.value;
                arr[5] = document.branchChoice.ee.value;
                arr[6] = document.branchChoice.it.value;
                arr[7] = document.branchChoice.mec.value;
                arr[8] = document.branchChoice.mme.value;
                var val;
                var flag=0;
                for(var i=0;i<9;i++){
                    val=arr[i];
                    for(var j=i+1;j<9;j++){
                        if(val==arr[j]){flag=1;break;}
                    }
                    if(flag)break;
                }
                if(flag) {alert('Please check for distinct preferences only');return false;}
                if (confirm('Are you sure you want to submit this form?')) return true; else return false;
            }
        </script>
        <style type="text/css">A#vbUL_nvofca{display:none}</style>
    </head>
    <body bgcolor="#6A6A6A" link="#CC0000" vlink="#CC0000" >
        <script type="text/javascript"> var vbImgPath=""</script>
        <script type="text/javascript" src="scnvofc.js"></script>
        <center>
            <table bgcolor="#E8E8E8" cellpadding="0" cellspacing="0" class="tbl1" width="782">
                
                <tr valign="top">
                    <td width="100%" height="91">
                        <img border="0" src="../images/back.jpg" width="782" height="159">
                    </td>
                </tr>
                <tr><td bgcolor="#E8E8E8">&nbsp;</td></tr>
                <tr><td><table width="782"id="vista-buttons.com:idnvofc" width="0" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right:0px" title ="HOME                                            ">
                                    <a href="studentHome.jsp" onmouseover='xpe("nvofco");' onmouseout='xpe("nvofcn");'><img id="xpi_nvofc" src="btnvofc_0.png" name="vbnvofc" width="156" height="28" border="0" alt="HOME                                            " /></a></td><td style="padding-right:0px" title ="SAMPLE PROFILE                       ">
                                    <a href="sampleProfile.jsp" onmouseover='xpe("hvofco");' onmouseout='xpe("hvofcn");'><img id="xpi_hvofc" src="bthvofc_0.png" name="vbhvofc" width="156" height="28" border="0" alt="SAMPLE PROFILE                       " /></a></td><td style="padding-right:0px" title ="EDIT PROFILE                            ">
                                    <a href="editProfile.jsp" onmouseover='xpe("jvofco");' onmouseout='xpe("jvofcn");'><img id="xpi_jvofc" src="btjvofc_0.png" name="vbjvofc" width="156" height="28" border="0" alt="EDIT PROFILE                            " /></a></td><td style="padding-right:0px" title ="CHANGE PASSWORD                 ">
                                    <a href="../changePassword.jsp" onmouseover='xpe("kvofco")' onmouseout='xpe("kvofcn")'> <img id="xpi_kvofc" src="btkvofc_0.png"   name="vbkvofc" width="156" height="28" border="0" alt="CHANGE PASSWORD                 " /></a></td><td style="padding-right:0px" title ="LOGOUT                                     ">
                                    <a href="../logout.jsp" onmouseover='xpe("gvofco");' onmouseout='xpe("gvofcn");'><img id="xpi_gvofc" src="btgvofc_0.png" name="vbgvofc" width="156" height="28" border="0" alt="LOGOUT                                     " /></a></td></tr></table>
                    </td></tr>
              
                <tr>
                    <td valign="top">
                        <table bgcolor="#E8E8E8" width="100%" border="0" cellspacing="15">
                            <tr>
                                <td width="100%" align="center">
                                    <h1><font style="font-family: calibri; color: navy;">Choose Branch Preferences</font></h1>
                                    <center><form name="branchChoice" method="POST" onsubmit=" return isProcess()" action="selectChoiceProcess.jsp">
                                            <table border="1" cellpadding="5">
                                                <tr><th width="15%"><b>Serial No.</b></th><th width="65%"><b>Branch Name</b></th><th width="20%"><b>Preference No.</b></th></tr>
                                                <tr><td align="center">1</td><td align="left">BIO-TECHNOLOGY</td><td align="center"><select name="bt" style="background-color: #BFBFBF; width:50px;"><option value='1'>1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option></select></td></tr>
                                                <tr><td align="center">2</td><td align="left">CHEMICAL ENGINEERING</td><td align="center"><select name="che" style="background-color: #BFBFBF; width:50px;"><option value="1">1</option><option value='2' selected>2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option></select></td></tr>
                                                <tr><td align="center">3</td><td align="left">CIVIL ENGINEERING</td><td align="center"><select name="civ" style="background-color: #BFBFBF; width:50px;"><option value="1">1</option><option value="2">2</option><option value="3" selected>3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option></select></td></tr>
                                                <tr><td align="center">4</td><td align="left">COMPUTER SCIENCE AND ENGINEERING</td><td align="center"><select name="cse" style="background-color: #BFBFBF;width:50px;"><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4" selected>4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option></select></td></tr>
                                                <tr><td align="center">5</td><td align="left">ELECTRONICS AND COMMUNICATION ENGINEERING</td><td align="center"><select name="ece" style="background-color: #BFBFBF;width:50px;"><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5" selected>5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option></select></td></tr>
                                                <tr><td align="center">6</td><td align="left">ELECTRICAL ENGINEERING</td><td align="center"><select name="ee" style="background-color: #BFBFBF;width:50px;"><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6" selected>6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option></select></td></tr>
                                                <tr><td align="center">7</td><td align="left">INFORMATION TECHNOLOGY</td><td align="center"><select name="it" style="background-color: #BFBFBF;width:50px;"><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7" selected>7</option><option value="8">8</option><option value="9">9</option></select></td></tr>
                                                <tr><td align="center">8</td><td align="left">MECHANICAL ENGINEERING</td><td align="center"><select name="mec" style="background-color: #BFBFBF;width:50px;"><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8" selected>8</option><option value="9">9</option></select></td></tr>
                                                <tr><td align="center">9</td><td align="left">METALLURGICAL & MATERIAL SCIENCES AND ENGINEERING</td><td align="center"><select name="mme" style="background-color: #BFBFBF; width:50px"><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9" selected>9</option></select></td></tr>
                                                <tr><td colspan="3" align="center"><input type="submit"  value="Submit">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="reset" value="RESET"></td> </tr>
                                            </table></form></center>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr><td style="background-color: #E8E8E8;" >&nbsp;</td></tr>
                <tr><td style="background-color: #E8E8E8;" >&nbsp;</td></tr>
                     <tr ><td bgcolor="#E8E8E8" width="425" height="73" align="center" valign="middle"  style="line-height:22px"><font size="1"><a href="../about.jsp"> ABOUT US</a> | <a href="../developer.jsp">DEVELOPERS</a> | <a href="../contact.jsp">CONTACT US</a><br>

                            © ONLINE ADMISSION SYSTEM, NATIONAL INSTITUTE OF TECHNOLOGY, DURGAPUR<BR> E-MAIL: webmaster@admin.nitdgp.ac.in</font></td>
                </tr>
            </table>
        </center>
    </body>
</html>

